package br.com.news.ws;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import br.com.news.utils.database.beans.UsuarioBean;

@Path("/hello")
public class HelloWs extends GenericWs<UsuarioBean> {

	public HelloWs() {
		System.out.println("teste");
	}

	@GET
	@Path("/print")
	@Produces("application/json")
	public String sayHello() {

		return listToJson(RmiFactory.getUsuarioService().teste());
	}

}
